Retrieves the Cargo manifest path by parsing the output of cargo locate-project
.
Example:
use locate_cargo_manifest::locate_manifest;
let manifest_path = locate_manifest().expect("failed to retrieve cargo manifest path");
assert!(manifest_path.ends_with("Cargo.toml"));